package com.linzhaowei.headhuntingservice.fragment;


import android.content.Intent;

import com.hyphenate.easeui.EaseConstant;
import com.hyphenate.easeui.ui.EaseConversationListFragment;
import com.linzhaowei.headhuntingservice.Chat;

public class EMChatFragment extends EaseConversationListFragment {
    public EMChatFragment(){
        super.setConversationListItemClickListener(conversation ->
                startActivity(new Intent(getActivity(), Chat.class)
                        .putExtra(EaseConstant.EXTRA_USER_ID, conversation.conversationId())));
        hideTitleBar();
    }
}
